const http = require('http')
const server = http.createServer()
server.on('request', (req, res) => {
  console.log(req.url, req.method, req, '6666')
  var url = req.url
  const pname = url.split('?')[1].split('=')[1]
  res.s
  res.end(pname)
})
server.listen(2578, '192.168.87.34', () => {
  console.log('http://192.168.87.34:2578')
})